package com.tzy.tzyrpcdemoprovider;

import com.tzy.tzyrpccore.annotation.TzyRpcAnnotation;
import com.tzy.tzyrpcdemoapi.User;
import com.tzy.tzyrpcdemoapi.UserService;
import org.springframework.stereotype.Service;

/**
 * @author caituxinchu
 */
@TzyRpcAnnotation
@Service
public class UserServiceImpl  implements UserService {


    @Override
    public User findById(Integer uid) {
        return new User(uid,"tzy-"+System.currentTimeMillis());
    }
}
